package dao;

import bean.Article;
import bean.User;

import java.sql.SQLException;
import java.util.ArrayList;

public interface SearchDao {
    public ArrayList<Article> labelSearch(String content) throws SQLException;/*标签搜索*/
    public ArrayList<User> userSearch(String content) throws SQLException;/*搜索博主*/
    public ArrayList<Article> contentSearch(String content) throws SQLException;/*内容搜索*/
    public ArrayList<Article> titleSearch(String content) throws SQLException;/*标题搜索*/
    public ArrayList<Article> moldSearch(String content) throws SQLException;/*类型搜索*/
    public ArrayList<Article> subfieldSearch(String content) throws SQLException;/*分栏搜索*/
    public ArrayList<Article> synthesisSearch(String content) throws SQLException;/*综合搜索*/
    public ArrayList<Article> getInquireArticles(String time, String subfield, String label, String type, User user) throws SQLException;/*查询博客*/
}
